037be1e08ea836f1979913044d988bd8570dac87,src/net/java/sip/communicator/impl/gui/main/call/CallPeerRendererUtils.java,CallToolBarPanel,paintComponent,#Graphics#,153
Before Change
else
g.setColor(settingsColor);
g.fillRoundRect(0, 0, getWidth(), getHeight(), 8, 8);
// We add the border.
int x = CallToolBarButton.DEFAULT_WIDTH
After Change
{
g.setColor(toolbarInCallShadowColor);
g.drawRoundRect(
0, 0, getWidth() - 1, getHeight() - 2, 10, 10);
g.setColor(toolbarInCallBorderColor);
g.drawRoundRect(
0, 0, getWidth() - 1, getHeight() - 3, 10, 10);
}
else
{
if (isFullScreen)
g.setColor(toolbarFullScreenColor);
else
g.setColor(toolbarColor);
g.fillRoundRect(0, 0, getWidth(), getHeight(), 10, 10);
}
if (!isFullScreen)
{
// We add the border.
int x = CallToolBarButton.DEFAULT_WIDTH
+ TOOL_BAR_BORDER + TOOL_BAR_X_GAP;
while (x < getWidth() - TOOL_BAR_BORDER - TOOL_BAR_X_GAP)
{
separatorImage = (isIncomingCall)
? buttonDarkSeparatorImage
: buttonSeparatorImage;
g.drawImage(separatorImage,
x + 1,
(getHeight()
- separatorImage.getHeight(this))/2,
this);
x += CallToolBarButton.DEFAULT_WIDTH + TOOL_BAR_X_GAP;